ResourceFork.GetHandle Function

Returns a resource handle as an Integer, given the type and ID of the desired resource. Intended for use with Declare statements.

Syntax

result = ResourceFork.GetHandle( ResourceType, ID )

Parameters

ResourceType

String

ID

Integer

Return Value

Result

Integer

Notes

The resource will be released when the resource fork is closed or when you call ReleaseHandle.